import { defaultTextareaProps } from "@/utils/default";
import type { QuestionTextareaPropsType } from "@/utils/type";
import { Typography,Input } from "antd";


const {TextArea} = Input;

const {Paragraph} = Typography;




export default function QuestionTextarea(props:QuestionTextareaPropsType) {
  const { title,placeholder} = {...defaultTextareaProps,...props}

  

  return (
   <div >
      <Paragraph strong>{title}</Paragraph>
      <div>
        <TextArea placeholder={placeholder}></TextArea>
      </div>
    </div>
  )
}
